From b7afaf32d6f0125ac0671244fe2689c365b9973b Mon Sep 17 00:00:00 2001 From: "josht@us.ibm.com" Date: Tue, 23 Aug 2005 00:28:39 +0100 Subject: [PATCH] Change default xentop update delay from 1 to 3 seconds. --- tools/xenstat/xentop/xentop.1 | 2 +- tools/xenstat/xentop/xentop.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/xenstat/xentop/xentop.1 b/tools/xenstat/xentop/xentop.1 index 15b6ca190f..1d480c9063 100644 --- a/tools/xenstat/xentop/xentop.1 +++ b/tools/xenstat/xentop/xentop.1 @@ -40,7 +40,7 @@ display help and exit output version information and exit .TP \fB\-d\fR, \fB\-\-delay\fR=\fISECONDS\fR -seconds between updates (default 1) +seconds between updates (default 3) .TP \fB\-n\fR, \fB\-\-networks\fR output network information diff --git a/tools/xenstat/xentop/xentop.c b/tools/xenstat/xentop/xentop.c index 3fb81f560f..f1257869d3 100644 --- a/tools/xenstat/xentop/xentop.c +++ b/tools/xenstat/xentop/xentop.c @@ -151,7 +151,7 @@ xenstat_node *prev_node = NULL; xenstat_node *cur_node = NULL; field_id sort_field = FIELD_DOMID; unsigned int first_domain_index = 0; -unsigned int delay = 1; +unsigned int delay = 3; int show_vcpus = 0; int show_networks = 0; int repeat_header = 0; @@ -174,7 +174,7 @@ static void usage(const char *program) "Displays ongoing information about xen vm resources \n\n" "-h, --help display this help and exit\n" "-V, --version output version information and exit\n" - "-d, --delay=SECONDS seconds between updates (default 1)\n" + "-d, --delay=SECONDS seconds between updates (default 3)\n" "-n, --networks output vif network data\n" "-r, --repeat-header repeat table header before each domain\n" "-v, --vcpus output vcpu data\n" -- 2.30.2